GC_SKILL_FIRE = {
	{"send_id", 1, "int"},
	{"recv_id", 1, "int"},
	{"skill_id", 1, "int"},
	{"action_id", 1, "int"},
	{"horse_action", 1, "int"}, 
	{"enableID",1, "int"},		 --施法特效id
	{"enableConfig",1, "double"},--施法特效配置
	{"attackID",1, "int"},		 --攻击特效id
	{"effectConfig",1, "double"},		--攻击是否遮挡
	{"x", 		1, "int"},
	{"y", 		1, "int"},
	{"tx", 		1, "int"},
	{"ty", 		1, "int"},
	{"quake", 	1, "int"},		-- 震屏方式
	{"time",1, "int"},			-- 剩余冷却
	{"count", 	1, "int"},		-- 冷却豆子
	{"fireSound", 1, "int"},
	{"qianyao",  1,  "int"},  --前摇时间，如果没配置则为公共CD500 ms
	{"show_icon", 1, "int"},  --使用名称显示ICON
	{"move_cancel", 1, "int"}, --移动能否取消攻击
	{"timescale",   1, "double"}
}

GC_SKILL_FIRE_SOUND = {
	{"fireSound", 1, "int"},
}

GC_SKILL_ERR = {
	{"ret", 1, "int"}
}

CG_SKILL_FIRE = {
	{"x", 1, "int"},
	{"y", 1, "int"},
	{"skill_id", 		1, "int"},
	{"tx", 		1, "int"},
	{"ty", 		1, "int"},
	{"recv_id", 	1, "int"},
}

GC_SKILL_MAGIC_FLY = {
	{"send_id", 	1, "int"},
	{"recv_id", 	1, "int"},
	{"x", 		1, "int"},
	{"y", 		1, "int"},
	{"tx", 		1, "int"},
	{"ty", 		1, "int"},
	{"gravity", 1, "int"},				--重量
	{"actionType", 1, "int"},			--释放类型
	{"flySpeed",1, "int"},				--飞行速度
	{"flyID",1, "int"},					--飞行特效id	
	{"flyEffectConfig",1, "double"},	--飞行特效配置
	{"tailID",1, "int"},				--拖尾特效id	
	{"tailEffectConfig",1, "double"},	--拖尾特效配置
}

GC_SKILL_BOMB = {
	{"bomb_id",1, "int"},
	{"effectConfig", 1, "double"},
	{"bombSound", 1, "int"},
	{"tx", 		1, "int"},
	{"ty", 		1, "int"},
}

GC_SKILL_HIT = {
	{"recv_id",			1,	"int"	},			-- 中招对象id
	{"send_id",			1,	"int"	},			-- 发招对象id
	{"hurt_hp",			1,	"double"	},		-- 被打角色伤血量
	{"obj_hp",			1,	"double"	},		-- 被打角色当前hp
	{"obj_max_hp",		1,	"double"	},		-- 被打角色最大hp
	{"hit_id",			1,	"int"	},		-- 技能效果id
	{"hit_height",  1,  "double"},  -- 命中特效位置0-1之前的数
	{"hitEffectConfig",	1,	"double"	},	-- 技能效果配置
	{"stiff",			1,	"int"	},		-- 僵直时间
	{"x", 				1, 	"int"	},
	{"y", 				1, 	"int"	},
	{"ownerID",			1,	"int"	},
	{"heavy_hit",		1,	"bit",2	},		-- 是否暴击
	{"hitCount",		1,	"bit",3	},		-- 击中次数
	{"hitSound",		1,  "int"},
	{"blood_id",    1,  "int"},       -- 飙血特效ID
	{"bloodEffectConfig", 1,"double"},-- 飙血特效
}

GC_SKILL_HIT2 = {
	{"recv_id",			1,	"int"	},			-- 中招对象id
	{"hit_id",			1,	"int"	},		-- 技能效果id
	{"hit_height",  1,  "double"},  -- 命中特效位置0-1之前的数
	{"hitEffectConfig",	1,	"double"	},	-- 技能效果配置
}

GC_SKILL_ACTION = {
	{"send_id", 1, "int"},
	{"recv_id", 1, "int"},
	{"skill_id", 1, "int"},	
	{"actionType",1, "int"},		-- 释放类型
	{"actionArgs", 		5, "int"},  -- 释放参数
	{"x", 				1, "int"},
	{"y", 				1, "int"},
	{"tx", 				1, "int"},
	{"ty", 				1, "int"},
	{"multiTarget", 	1, "int"},	-- 多目标飞行
	{"otherArgs", 		5, "int"},  -- 其他辅助参数
	{"resList",			20, {{"key", 1, "int"},{"value",1,"double"}}},	--actionID,flySpeed,enableID,attackID,attackMask,flyID,hitID,bombID,hitSound,bombSound
}

GC_SKILL_HIT_FLY = {
	{"obj_id", 1, "int"},
	{"x", 1, "int"},
	{"y", 1, "int"}
}


GC_SKILL_HIT_BACK = {
	{"obj_id", 1, "int"},
	{"x", 1, "int"},
	{"y", 1, "int"}
}

GC_SKILL_HIT_UP = {
	{"obj_id", 1, "int"},
	{"x", 1, "int"},
	{"y", 1, "int"}
}

GC_SKILL_HIT_FLOAT = {
  {"obj_id", 1, "int"},
  {"x", 1, "int"},
  {"y", 1, "int"},
  {"time", 1, "int"},
}

GC_SKILL_EFFECT = {
	{"obj_id", 1, "int"},
	{"effectID", 1, "int"},
	{"effectConfig", 1, "double"}
}

GC_SKILL_SPECIAL = {	--震屏 空间扭曲等特殊
	{"obj_id", 1, "int"},
	{"quake", 1, "int"},
	{"space", 1, "int"},
	{"tx", 1, "int"},
	{"ty", 1, "int"}
}

GC_SKILL_TIP = {
	{"obj_id",1,"int"},
	{"type",1,"int"}
}

SkillData = {
	{"id",1,"int"},
	{"name",1 ,"string"},
	{"icon",1,"int"},
	{"cooldown",1,"int"},
	{"attackLen",1,"int"},
	{"group",1,"int"},
	{"time",1,"int"},
	{"upMoney",1,"int"},		    -- 升级消耗银两
	{"mp",1,"int"},             -- 消耗法力值
	{"sbName",  1, "string"},    --技能相关神兵名称
	{"sbLv",    1, "bit", 8},    --技能激活或升级需要神兵等级
	{"itemID",  1, "int"},       --升级所需道具ID
	{"itemName", 1, "string"},      --升级所需道具名称
	{"itemCnt",  1, "int"},      --升级所需道具数量
	{"zhangong", 1, "int"},      -- 激活或升级所需战功数
	
	{"isGood",1,"bit",1},			-- 是否有益
	{"giddyCanSkill",1,"bit",1},	-- 眩晕时能否释出
	{"canSkill",1,"bit",1},			-- 禁法时能否释出
	{"isNormal",1,"bit", 1},
	{"isJuexing", 1,"bit", 1},     --是否是觉醒技能
	{"level",1,"bit", 8},     --技能本身等级
	{"levelUp", 1, "bit",8},  --属性添加等级
	{"acttackType",1,"bit", 3},
	{"isLoop",1,"bit", 2},
	{"isActivation",1,"bit", 1},	-- 是否激活
	{"hang",1,"bit", 1},			-- 挂机是否释放
	{"count",1,"bit", 3},			-- 冷却豆子
	{"maxCount",1,"bit", 3},		-- 最大冷却豆子
	{"actionType",1,"bit", 5},
	{"petStageLv", 1, "bit", 5}, --神将等阶
	{"horseLv", 1, "bit", 8},    --坐骑等级
	{"qianyao", 1, "int"},   -- 前摇
	{"baowuLv", 1, "int"}, --宝物等级
	{"skillType", 1, "int"}, --技能类型， 1.神兵技能2.坐骑技能3.宝物技能4.神将普通技能5.神将特技6.怪物技能
}
GC_SKILL_LIST = {
	{"list",45,SkillData},
}

GC_SKILL_LIST_CHANGE = {
	{"list",45,SkillData},
}

GC_SKILL_COOLDOWN ={
	{"skillGroupID",1,"int"},
	{"type",1,"int"},
	{"time",1,"int"},
	{"rate",1,"double"},
}

CG_SKILL_STOP = {
}

CG_SKILL_UPGRADE = {
	{"id",1,"int"},
	{"from", 1, "int"}, -- 0 为 神兵界面， 1为神将界面
	{"petId", 1, "int"}, --神将id
}

GC_SKILL_UPGRADE = {
	{"id",1,"int"},
	{"ret",1,"int"},
	{"err",1,"string"},
}

GC_SKILL_MAIN_MENU = {
  {"weapon", 1,"int"},
	{"id",5,"int"},  
	{"itemDatas",2,require("bag.Proto").ItemData},
	{"horseSkill", 1, "int"},
	{"bowSkill",   1, "int"},
	{"qiliaoSkill", 1, "int"},
}
GC_OBJ_FLY = {
	{"obj_id", 1, "int"},
	{"z", 1, "int"},
	{"msec", 1, "int"},
}




--连斩数通知
GC_SKILL_KILL_NUM = {
	{"count",               1,              "int"},         --连斩数
	{"type",                1,              "int"},         --类型
	{"interval",            1,              "int"},         --CD时间
}

GC_SKILL_LINK = {
  {"groupID", 1, "int"},
  {"skillID", 1, "int"},
  {"expire",  1, "int"},  -- 过期时间(ms, 如果这段时间办没有点击，取消连击)
  {"time",1, "int"},      -- 剩余冷却(只有连招最后一招才生效)
  {"count",   1, "int"},    -- 冷却豆子
}

GC_SKILL_CHANGE_ONE = {
  {"skillID", 1,  "int"},
  {"pos",     1,  "int"},
}

CG_SKILL_CLIENT_HIDE = {
  {"hide",    1,  "int"},
}

GC_SKILL_NEW = {
  {"index",   1,  "int"},
  {"icon", 1,  "int"},
}

CG_SKILL_MOUSE_POINT = {
  {"mousex",        1, "int"},
  {"mousey",        1, "int"},
}
GC_SKILL_MOUSE_POINT = {
  {"objid",         1, "int"},
  {"mousex",        1, "int"},
  {"mousey",        1, "int"},
}

GC_SKILL_GUIDE_DU_TIAO = {
  {"desc",          1, "string"},
  {"msec",          1, "int"},
}